home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMPPPPIIII____PPPPAAAACCCCKKKK((((3333)))) MMMMPPPPIIII____PPPPAAAACCCCKKKK((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- MMMMPPPPIIII____PPPPaaaacccckkkk - Packs a data type into contiguous memory
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- C:
-
- #include <mpi.h>
-
- int MPI_Pack ( _i_n_b_u_f, _i_n_c_o_u_n_t, _t_y_p_e, _o_u_t_b_u_f,
- _o_u_t_c_o_u_n_t, _p_o_s_i_t_i_o_n, _c_o_m_m )
- void *_i_n_b_u_f;
- int _i_n_c_o_u_n_t;
- MPI_Datatype _t_y_p_e;
- void *_o_u_t_b_u_f;
- int _o_u_t_c_o_u_n_t;
- int *_p_o_s_i_t_i_o_n;
- MPI_Comm _c_o_m_m;
-
-
- C++:
-
- #include <mpi.h>
-
- void Datatype::Pack(
- const void* _i_n_b_u_f,
- int _i_n_c_o_u_n_t,
- void *_o_u_t_b_u_f,
- int _o_u_t_s_i_z_e,
- int& _p_o_s_i_t_i_o_n,
- const Comm &_c_o_m_m) const
-
-
- Fortran:
-
- INCLUDE "mpif.h" (or USE MPI)
-
- <type> INBUF(*), OUTBUF(*)
- INTEGER _i_n_c_o_u_n_t, _d_a_t_a_t_y_p_e, _o_u_t_s_i_z_e, _p_o_s_i_t_i_o_n, _c_o_m_m, _i_e_r_r_o_r
-
- CALL MPI_PACK(_i_n_b_u_f, _i_n_c_o_u_n_t, _d_a_t_a_t_y_p_e, *_o_u_t_b_u_f, _o_u_t_s_i_z_e, _p_o_s_i_t_i_o_n, _c_o_m_m, _i_e_r_r_o_r)
-
-
- SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
- This release implements the MPI 1.2 standard, as documented by the MPI
- Forum in the spring 1997 release of _M_P_I: _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
- _S_t_a_n_d_a_r_d.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The MMMMPPPPIIII____PPPPaaaacccckkkk routine packs a data type into contiguous memory. This
- routine accepts the following parameters;
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMPPPPIIII____PPPPAAAACCCCKKKK((((3333)))) MMMMPPPPIIII____PPPPAAAACCCCKKKK((((3333))))
-
-
-
- _i_n_b_u_f Specifies the input buffer start (choice)
-
- _i_n_c_o_u_n_t Specifies the number of input data items (integer)
-
- _t_y_p_e Specifies the data type of each input data item (handle)
-
- _o_u_t_c_o_u_n_t Specifies the output buffer size in bytes (integer)
-
- _p_o_s_i_t_i_o_n Specifies the current position in the buffer in bytes (integer)
-
- _c_o_m_m Specifies the communicator for the packed message (handle)
-
- _o_u_t_b_u_f Returns the output buffer start (choice)
-
- _i_e_r_r_o_r Specifies the return code value for successful completion,
- which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
- file.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- MMMMPPPPIIII____PPPPaaaacccckkkk____ssssiiiizzzzeeee(3), MMMMPPPPIIII____UUUUnnnnppppaaaacccckkkk(3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-